package org.neuedu.chapter09_0629.demo04;

public class Demo01 {
    public static void main(String[] args) {
        // jdk5之前
        Integer num1 = new Integer(100);
        int num3 = num1.intValue();

        // jdk5之后 ，自动装箱
        Integer num2 = 100;
        // 自动拆箱
        int num4 = num2;

        String s = num4 + "";
        System.out.println(num1);
    }
}
